package com.lc.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Api(tags = "测试接口文档控制器")
public class HelloController {

    @ApiOperation(value = "hello")
    @GetMapping("/hello")
    public String hello(){
        return "Hello Swagger to Security";
    }

    @ApiOperation(value = "基本资料")
    @GetMapping("/employee/basic/hello")
    public String basichello(){
        return "基本资料";
    }

    @ApiOperation(value = "高级资料")
    @GetMapping("/employee/advanced/hello")
    public String advancedhello(){
        return "高级资料";
    }

}
